package com.bdqn.ch03thymeleaf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


import java.io.Serializable;

@TableName("account")
@Data
public class Account implements Serializable {
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;//账户id

    @TableField("cardno")
    private String cardno;//卡号
    private String password;//密码
    private Double balance;//账hu余额
    private Integer status;//账户状态
}
